// 获取大客户加注详情
export const fillingcustome = `
query($driver_id:Int,$fill_id:String){
  get_customers_for_fill(fill_id:$fill_id,driver_id:$driver_id){
    customers_id
    customers_price
    customers_name
  }
}`;
// 计算定额定量
export const custo_s = `
query($type:String,$count:Float,$customers_price:Float,$price:Float){
	get_jisuan_customers(type:$type,price:$price,count:$count,customers_price:$customers_price){type price count}}`;

// 获取路线
export const Route = `
query($customers_id:Int){route_list(customers_id:$customers_id){id name}}`;
// 获取车队
export const fleet = `
query($customers_id:Int){fleet_list(customers_id:$customers_id){id name}}`;
// 扫码去支付页面
export const scanCode = `
query($order_id:Int,$driver_id:Int,$fill_id:String){
	fill_order(order_id:$order_id,driver_id:$driver_id){ 
		id
		order_sn
		type
		price
		amount
    }
	get_customers_for_fill(fill_id:$fill_id,driver_id:$driver_id){
		customers_id
		customers_price
		customers_name
	}
}`;
// 获取车牌
export const CarCode = `
query($keywords:String,$customers_id:Int,$driver_id:Int){cart_list_customers(keywords:$keywords,customers_id:$customers_id,driver_id:$driver_id){cart_code}}`;
// 获取加注机列表
export const fillIngList = `
query($customers_id:Int){fill_list(customers_id:$customers_id){id name fill_code address image}}`;
// 获取车辆列表
export const carList = `
query($customers_id:Int,$driver_id:Int){cart_list(customers_id:$customers_id,driver_id:$driver_id){id model cart_code image}}`;
// 获取订单列表
export const orderList = `
query($customers_id:Int,$driver_id:Int,$start:String,$end:String,$cart_code:String,$fill_id:Int){
fill_order_list(customers_id:$customers_id,driver_id:$driver_id,end:$end,start:$start,cart_code:$cart_code,fill_id:$fill_id){
  list{
    id
    order_sn
    createtime
    fill_name
    filler_name
    filler_mobile
    fleet
    route
    mileage
    driver_name
    amount
    price
    money
    jieesuan_price
    cart_code
    cost
  }
  count
  price
  total
  lastpage
}
}`;
// 获取大客户授权信息
export const customers = `
query($customers_id:Int,$driver_id:Int){
customers_by_driver(customers_id:$customers_id,driver_id:$driver_id){
    customers_name
    cart_count
    fill_count
    order_count
  }
}`;
// 获取加注机详情
export const fillDetail = `
query($fill_id:Int){fill(fill_id:$fill_id){
  id
  name
  bond
  fill_code
  address
  fill_account
  customers_name
  jiesuan_price
  type
  }
}`;
// 获取车辆详情
export const carDetail = `
query($id:Int){cart(id:$id){id cart_code model}}`;
// 大客户专营机-获取大客户价格
export const getCustomersPrice = `
query($id:Int,$driver_id:Int,$fill_id:String){
  getCustomersPrice(id:$id,driver_id:$driver_id,fill_id:$fill_id){
    wechat_price
    money_price
    wechat_amount
    money_amount
    money_total_money
  }
}`;
// 大客户专营机-获取车友团价格
export const getTeamPrice = `
query($driver_id:Int,$fill_id:String,$price:Int,$team_id:Int,$code:String){
  getTeamPrice(driver_id:$driver_id,fill_id:$fill_id,price:$price,team_id:$team_id,code:$code){
    wechat_price
    money_price
    wechat_amount
    money_amount
    fenbo_amount
    fenbo_price
    type
    day
    image
    team_name
  }
}`;
// 大客户专营机-获取散客价格
export const getCommonPrice = `
query($id:Int,$driver_id:Int,$fill_id:String,$price:Float){
  getCommonPrice(id:$id,driver_id:$driver_id,fill_id:$fill_id,price:$price){
    wechat_price
    money_price
    wechat_amount
    money_amount
  }
}`;
